package cn.iocoder.yudao.module.wecom.controller.admin.chatgroup.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户群分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WeChatGroupPageReqVO extends PageParam {

    @Schema(description = "企微客户群ID", example = "27100")
    private String chatId;

    @Schema(description = "群聊名称", example = "赵六")
    private String name;

    @Schema(description = "群主")
    private String owner;

    @Schema(description = "群公告")
    private String notice;

    @Schema(description = "上次聊天时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lastChatTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    /**
     * 客户群跟进状态。
     * 0 - 跟进人正常
     * 1 - 跟进人离职
     * 2 - 离职继承中
     * 3 - 离职继承完成
     */
    private Integer status;


    private Integer userType;

    // 会话审计群列表： isAll=1 客户群列表： isAll=0
    private Integer isAll;

    private String weUserId;

}